Visual Basic (Declaration) | |
---|---|
Public Overridable Default Property Item( _ ByVal key As TKey _ ) As TValue |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ThreadSafeDictionary(Of TKey,TValue) Dim key As TKey Dim value As TValue instance.Item(key) = value value = instance.Item(key) |
C++/CLI | |
---|---|
public: virtual property TValue^ default [TKey^] { TValue^ get(TKey^ key); void set (TKey^ key, TValue^ value); } |
Parameters
- key
- Parameter containing the TKey value.
Property Value
The dictionary value.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7